Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REF: implement _ea_wrap_cython_operation #38162

Merged
merged 3 commits into from
Dec 2, 2020

Conversation

jbrockmendel
Copy link
Member

I've identified some bugs in _cython_operation. As a preliminary to fixing them, this splits out the EA-handling from the ndarray-handling. This will also make it easier to keep track of what we need to generalize if we want this to support arbitrary EAs.

@jreback jreback added Groupby Refactor Internal refactoring of code labels Dec 2, 2020
@jreback jreback added this to the 1.2 milestone Dec 2, 2020
@jreback jreback merged commit 40ca2b9 into pandas-dev:master Dec 2, 2020
@jbrockmendel jbrockmendel deleted the ref-gbops-eawrap branch December 2, 2020 02:06
return result, names

elif is_integer_dtype(values.dtype) or is_bool_dtype(values.dtype):
# IntegerArray or BooleanArray
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably also handle FloatingArray?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, ive got a branch doing that right now, hopefully will make a PR today.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, yes please try to do that shortly, as that should go into 1.2 ideally (before this PR, FloatArray was going through the cython groupby algos, but now not anymore)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Groupby Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants